<!DOCTYPE html>
<html lang="cn" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <title>基本信息创建</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" type="text/css" th:href="@{/static/layui/css/layui.css}" />
    <link rel="stylesheet" type="text/css" th:href="@{/static/css/organization/thesame.css}" />
    <link rel="stylesheet" type="text/css" th:href="@{/static/css/organization/rightCon.css}" media="all" />
    <link rel="stylesheet" type="text/css" th:href="@{/static/css/organization/healthPopCss.css}" media="all" />
    <link rel="stylesheet" th:href="@{/static/css/footer.css}" media="all">
</head>

<body class="layui-layout-body">
<div class="layui-body">
    <div class="add-title pad25px">
        <span onclick="returnToList('healthArchive/elderly/oldManList')" class="mr10px">
            <img class="cursor" th:src="@{/static/img/return_icon.png}">
        </span>
        <span>新建基本信息</span>
    </div>
    <div class="new-add-box new-add-box-width bgWhite box-shadows border-radius4">
        <div class="add-box-scroll">
            <div class="border-bot5px border-radius4 pad25px">
                <dl class="per-look-dl">
                    <dt>
                        <img th:if="${userInfo['headExist']}==1" th:src="${userInfo['headUrl']}" class="block">
                        <img th:if="${userInfo['headExist']}==0" th:src="@{/static/img/defaultHead.jpg}" class="block">
                    </dt>
                    <dd>
                        <div class="overflow">
                            <p class="left">
                                <span th:text="${userInfo['userName']}"></span>
                                <span class="border-bggray" th:text="${userInfo['bedInfo']}"></span>
                            </p>
                            <p class="right">
                                <span class="border-bgred" th:if="${userInfo['cognitionStatus']}==1">认知问题</span>
                                <span onclick="nursingInfo()" class="border-bgred cursor">
												<em th:text="${userInfo['nursingDegree']}"></em>
												<em class="look-em border-bgred textCenter">?</em>
											</span>
                                <span class="border-bgred" th:text="${userInfo['assessmentDegree']}"></span>
                            </p>
                        </div>
                        <div>
                            <span th:text="${userInfo['userSex']}"></span>
                            <span th:text="${userInfo['userAge']}+'岁'"></span>
                            <span th:text="${userInfo['eduction']}"></span>
                            <span th:text="${userInfo['securityType']}"></span>
                            <span th:text="${userInfo['userAddress']}"></span>
                        </div>
                        <div>
                            <span class="border-bggreen" th:text="'合同截止：'+${userInfo['contractEndDate']}"></span>
                            <span class="border-bggreen" th:text="'下次护理评估时间：'+${userInfo['nursingDate']}"></span>
                            <span class="border-bggreen" th:text="'评估有效期：'+${userInfo['assessmentDate']}"></span>
                        </div>
                    </dd>
                </dl>
            </div>
            <div class="mb25px pad25px">
                <ul class="inform-title mb25px">
                    <li class="current">基本信息</li>
                    <li>体格检查</li>
                </ul>
                <form id="basicHealthyForm">
                    <article class="mb25px">
                        <div class="new-add-title relative overflow mb15px"><span class="ml15px">个人信息</span></div>
                        <div class="new-add-form-con pb25px border-bot1px">
                            <ul class="overflow">
                                <input id="userNo" name="userNo" type="hidden" th:value="${userNo}">
                                <li>
                                    <p><label><em class="red">*</em>住院编号：</label></p>
                                    <p><input id="inNo" name="inNo" maxlength="10" th:value="${archives?.inNo}" type="text" placeholder="请输入住院编号" class="layui-input"></p>
                                </li>
                                <li>
                                    <p><label>工作单位：</label></p>
                                    <p><input name="workPlace" th:value="${archives?.workPlace}" type="text" placeholder="请输入工作单位" maxlength="50" class="layui-input"></p>
                                </li>
                                <li>
                                    <p><label>职业：</label></p>
                                    <p><input name="job" type="text" th:value="${archives?.job}" placeholder="请输入职业" maxlength="50" class="layui-input"></p>
                                </li>
                                <li>
                                    <p><label>性别 ：</label></p>
                                    <p>
                                        <select th:value="${archives?.sex}" name="sex" class="form-select">
                                            <option value="">请选择性别</option>
                                            <option th:selected="${archives?.sex=='1'}" value="1">男</option>
                                            <option th:selected="${archives?.sex=='2'}" value="2">女</option>
                                        </select>
                                    </p>
                                </li>
                                <li>
                                    <p><label>年龄：</label></p>
                                    <p><input type="text" name="age" th:value="${userInfo['userAge']}" placeholder="暂无" class="layui-input" readonly></p>
                                </li>
                                <li>
                                    <p><label>民族 ：</label></p>
                                    <p>
                                        <select name="nation" class="form-select">
                                            <option value="">请选择民族</option>
                                            <option th:each="nation:${nations}" th:selected="${archives?.nation}==${nation['labelCode']}" th:value="${nation['labelCode']}" th:text="${nation['labelName']}"> </option>
                                        </select>
                                    </p>
                                </li>
                                <li>
                                    <p><label>出生地：</label></p>
                                    <p><input name="birthPlace" th:value="${archives?.birthPlace}" type="text" placeholder="请输入出生地" maxlength="50" class="layui-input"></p>
                                </li>
                                <li>
                                    <p><label>入院时间：</label></p>
                                    <p><input name="inDate" th:value="${archives?.inDate}" type="text" readonly placeholder="年-月-日" class="layui-input layui-time test-item"></p>
                                </li>
                                <li>
                                    <p><label>供史者：</label></p>
                                    <p><input name="historyInfo" th:value="${archives?.historyInfo}" type="text" maxlength="20" placeholder="请输入供史者" class="layui-input"></p>
                                </li>
                                <li>
                                    <p><label>可靠程度：</label></p>
                                    <p><input type="text" name="reliableDegree" th:value="${archives?.reliableDegree}" maxlength="18" placeholder="请输入可靠程度" class="layui-input"></p>
                                </li>
                                <li>
                                    <p><label>病史采集时间：</label></p>
                                    <p><input type="text" name="collectDate" th:value="${archives?.collectDate}" readonly placeholder="年-月-日" class="layui-input layui-time test-item1"></p>
                                </li>
                                <li>
                                    <p><label>家庭住址：</label></p>
                                    <p><input type="text" th:value="${archives?.address}" name="address" placeholder="请输入家庭住址" maxlength="50" class="layui-input"></p>
                                </li>
                                <li class="width-three">
                                    <p><label>主诉：</label></p>
                                    <p><input name="zhuSu"  th:value="${archives?.zhuSu}" type="text" maxlength="60"  placeholder="请输入主诉" class="layui-input"></p>
                                </li>
                                <li class="width-three">
                                    <p><label>现病史：</label></p>
                                    <p><textarea name="medicalHistory" th:text="${archives?.medicalHistory}" maxlength="1000" placeholder="请输入现病史" rows="3" cols="5" class="layui-textarea resize"></textarea></p>
                                </li>
                                <li>
                                    <p><label>既往史：</label></p>
                                    <p>
                                        <select name="jwHistory" class="form-select">
                                            <option value="">请选择既往史</option>
                                            <option th:selected="${archives?.jwHistory=='101'}" value="101">健康</option>
                                            <option th:selected="${archives?.jwHistory=='102'}" value="102">一般</option>
                                            <option th:selected="${archives?.jwHistory=='103'}" value="103">差</option>
                                        </select>
                                    </p>
                                </li>
                                <li class="width-three">
                                    <p><label>曾患疾病：</label></p>
                                    <p><textarea name="diseaseInfo" th:text="${archives?.diseaseInfo}" maxlength="1000" placeholder="请输入曾患疾病，不超过1000个字" rows="3" cols="5" class="layui-textarea"></textarea></p>
                                </li>
                                <li>
                                    <p><label>传染病：</label></p>
                                    <p>
                                        <select name="infectiousDisease" class="form-select">
                                            <option value="">请选择</option>
                                            <option th:selected="${archives?.infectiousDisease=='0'}" value="0">无</option>
                                            <option th:selected="${archives?.infectiousDisease=='1'}" value="1">有</option>
                                        </select>
                                    </p>
                                </li>
                                <li>
                                    <p><label>手术史：</label></p>
                                    <p>
                                        <select id="operationHistory" name="operationHistory" class="form-select">
                                            <option value="">请选择</option>
                                            <option th:selected="${archives?.operationHistory=='0'}" value="0">无</option>
                                            <option th:selected="${archives?.operationHistory=='1'}" value="1">有</option>
                                        </select>
                                    </p>
                                </li>
                                <li>
                                    <p><label>手术部位：</label></p>
                                    <p><input id="operationInfo" name="operationInfo" th:value="${archives?.operationInfo}" type="text" maxlength="50" placeholder="请输入手术部位" class="layui-input" ></p>
                                </li>
                                <li>
                                    <p><label>食物、药物过敏史：</label></p>
                                    <p>
                                        <select name="allergyHistory" class="form-select">
                                            <option value="">请选择</option>
                                            <option th:selected="${archives?.allergyHistory=='0'}" value="0">无</option>
                                            <option th:selected="${archives?.allergyHistory=='1'}" value="1">有</option>
                                        </select>
                                    </p>
                                </li>
                                <li>
                                    <p><label>重要药物应用史：</label></p>
                                    <p>
                                        <select id="importHistorySelect" name="importHistory" class="form-select">
                                            <option value="">请选择</option>
                                            <option th:selected="${archives?.importHistory=='0'}" value="0">无</option>
                                            <option th:selected="${archives?.importHistory=='1'}" value="1">有</option>
                                        </select>
                                    </p>
                                </li>
                                <li>
                                    <div class="layui-form lh32px" th:if="${#strings.isEmpty(archives?.importInfo)}">
                                        <span><input type="checkbox"  value="1" name="importInfo" lay-skin="primary" title="激素"></span>
                                        <span><input type="checkbox"  value="2" name="importInfo" lay-skin="primary" title="抗癌药"></span>
                                        <span><input type="checkbox"  value="3" name="importInfo" lay-skin="primary" title="其他"></span>
                                    </div>
                                    <div class="layui-form lh32px" th:if="${not #strings.isEmpty(archives?.importInfo)}">
                                        <span><input type="checkbox" th:checked="${archives?.importInfo.contains('1')}"  value="1" name="importInfo" lay-skin="primary" title="激素"></span>
                                        <span><input type="checkbox" th:checked="${archives?.importInfo.contains('2')}"  value="2" name="importInfo" lay-skin="primary" title="抗癌药"></span>
                                        <span><input type="checkbox" th:checked="${archives?.importInfo.contains('3')}"  value="3" name="importInfo" lay-skin="primary" title="其他"></span>
                                    </div>
                                </li>
                            </ul>
                        </div>
                    </article>
                    <article class="mb25px">
                        <div class="new-add-title relative overflow mb15px"><span class="ml15px">个人史</span></div>
                        <div class="new-add-form-con pb25px border-bot1px">
                            <ul class="overflow">
                                <li>
                                    <p><label>文化程度 ：</label></p>
                                    <p>
                                        <select name="education" class="form-select">
                                            <option value="">请选择文化程度</option>
                                            <option th:selected="${userHistory?.education}==${education['labelCode']}" th:each="education:${educations}" th:value="${education['labelCode']}" th:text="${education['labelName']}"></option>
                                        </select>
                                    </p>
                                </li>
                                <li>
                                    <p><label>疫区疫水接触史：</label></p>
                                    <p>
                                        <select name="isContact" class="form-select">
                                            <option value="">请选择</option>
                                            <option th:selected="${userHistory?.isContact=='0'}" value="0">无</option>
                                            <option th:selected="${userHistory?.isContact=='1'}" value="1">有</option>
                                        </select>
                                    </p>
                                </li>
                            </ul>
                            <ul class="overflow">
                                <li>
                                    <p><label>嗜烟：</label></p>
                                    <p>
                                        <select name="isSmoke" class="form-select">
                                            <option value="">请选择</option>
                                            <option th:selected="${userHistory?.isSmoke=='0'}" value="0">无</option>
                                            <option th:selected="${userHistory?.isSmoke=='1'}" value="1">有</option>
                                        </select>
                                    </p>
                                </li>
                                <li>
                                    <p><label>已抽年数：</label></p>
                                    <p><input name="smokeYear" th:value="${userHistory?.smokeYear}" oninput = "value=value.replace(/[^\d]/g,'')" maxlength="3" type="text" placeholder="请输入已抽年数" class="layui-input"></p>
                                </li>
                                <li>
                                    <p><label>平均（支/日）：</label></p>
                                    <p><input type="text" th:value="${userHistory?.smokeCount}" name="smokeCount" oninput = "value=value.replace(/[^\d]/g,'')" maxlength="3" placeholder="请输入平均（支/日）" class="layui-input"></p>
                                </li>
                            </ul>
                            <ul class="overflow">
                                <li>
                                    <p><label>已戒年数：</label></p>
                                    <p><input name="quitSmokeYear" th:value="${userHistory?.quitSmokeYear}" oninput = "value=value.replace(/[^\d]/g,'')" maxlength="3" type="text" placeholder="请输入已戒年数" class="layui-input"></p>
                                </li>
                            </ul>
                            <ul class="overflow">
                                <li>
                                    <p><label>饮酒：</label></p>
                                    <p>
                                        <select name="drinkWine" class="form-select">
                                            <option value="">请选择</option>
                                            <option th:selected="${userHistory?.drinkWine=='0'}" value="0">无</option>
                                            <option th:selected="${userHistory?.drinkWine=='1'}" value="1">有</option>
                                        </select>
                                    </p>
                                </li>
                                <li>
                                    <p><label>平均（两/日）：</label></p>
                                    <p><input type="text" th:value="${userHistory?.drinkCount}" name="drinkCount" maxlength="5" onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')" placeholder="请输入每天喝酒两数" class="layui-input"></p>
                                </li>
                                <li>
                                    <div class ="layui-form lh32px">
                                        <span><input type="checkbox" th:checked="${userHistory?.specialLike=='1'}"  value="1" name="specialLike" lay-skin="primary" title="特殊癖好"></span>
                                    </div>
                                </li>
                            </ul>
                            <ul class="overflow">
                                <li>
                                    <p><label>婚姻：</label></p>
                                    <p>
                                        <select name="marriage" class="form-select">
                                            <option value="">请选择婚姻</option>
                                            <option th:each="marriage:${marriages}" th:selected="${userHistory?.marriage}==${marriage['labelCode']}" th:value="${marriage['labelCode']}" th:text="${marriage['labelName']}"></option>
                                        </select>
                                    </p>
                                </li>
                                <li>
                                    <p><label>配偶：</label></p>
                                    <p>
                                        <select name="spouse" class="form-select">
                                            <option  value="">请选择</option>
                                            <option th:selected="${userHistory?.spouse=='1'}" value="1">健康 </option>
                                            <option th:selected="${userHistory?.spouse=='2'}" value="2">一般</option>
                                            <option th:selected="${userHistory?.spouse=='3'}" value="3"> 差</option>
                                        </select>
                                    </p>
                                </li>
                                <li>
                                    <p><label>夫妻关系：</label></p>
                                    <p>
                                        <select name="marriageRelationship" class="form-select">
                                            <option value="">请选择</option>
                                            <option th:selected="${userHistory?.marriageRelationship=='0'}" value="0">欠佳</option>
                                            <option th:selected="${userHistory?.marriageRelationship=='1'}" value="1">和睦</option>
                                        </select>
                                    </p>
                                </li>
                            </ul>
                            <ul class="overflow">
                                <li>
                                    <p><label>月经初潮：</label></p>
                                    <p class="relative">
                                        <input name="menstruationStart" th:value="${userHistory?.menstruationStart}" type="text" oninput = "value=value.replace(/[^\d]/g,'')" maxlength="3" placeholder="请输入岁数" class="layui-input"><em class="form-age-posi">岁</em></p>
                                </li>
                                <li>
                                    <p><label>月经绝经：</label></p>
                                    <p class="relative">
                                        <input name="menstruationEnd" th:value="${userHistory?.menstruationEnd}" type="text" oninput = "value=value.replace(/[^\d]/g,'')" maxlength="3" class="layui-input"><em class="form-age-posi">岁</em></p>
                                </li>
                            </ul>
                            <ul class="overflow">
                                <li>
                                    <p><label>子女：</label></p>
                                    <p><input type="text" th:value="${userHistory?.childrenCount}" name="childrenCount" oninput = "value=value.replace(/[^\d]/g,'')" maxlength="3" placeholder="请输入子女数量" class="layui-input"></p>
                                </li>
                                <li>
                                    <p><label>子：</label></p>
                                    <p><input type="text" th:value="${userHistory?.boyCount}"  name="boyCount" oninput = "value=value.replace(/[^\d]/g,'')" maxlength="3" placeholder="请输入儿子数量" class="layui-input"></p>
                                </li>
                                <li>
                                    <p><label>女：</label></p>
                                    <p><input type="text" th:value="${userHistory?.girlCount}" name="girlCount" oninput = "value=value.replace(/[^\d]/g,'')" maxlength="3" placeholder="请输入女儿数量" class="layui-input"></p>
                                </li>
                                <li>
                                    <p><label>子女关系：</label></p>
                                    <p>
                                        <select name="childrenRelationship" class="form-select">
                                            <option value="">请选择</option>
                                            <option th:selected="${userHistory?.childrenRelationship=='0'}" value="0">欠佳</option>
                                            <option th:selected="${userHistory?.childrenRelationship=='1'}" value="1">和睦</option>
                                        </select>
                                    </p>
                                </li>
                            </ul>
                            <ul class="overflow">
                                <li>
                                    <p><label>进食：</label></p>
                                    <p>
                                        <select name="eatState" class="form-select">
                                            <option value="">请选择</option>
                                            <option th:selected="${userHistory?.eatState=='0'}" value="0">依赖</option>
                                            <option th:selected="${userHistory?.eatState=='1'}" value="1">协助</option>
                                            <option th:selected="${userHistory?.eatState=='2'}" value="2">自理</option>
                                        </select>
                                    </p>
                                </li>
                                <li>
                                    <p><label>个人卫生：</label></p>
                                    <p>
                                        <select name="gygieneState" class="form-select">
                                            <option value="">请选择</option>
                                            <option th:selected="${userHistory?.gygieneState=='0'}" value="0">依赖</option>
                                            <option th:selected="${userHistory?.gygieneState=='1'}" value="1">协助</option>
                                            <option th:selected="${userHistory?.gygieneState=='2'}" value="2">自理</option>
                                        </select>
                                    </p>
                                </li>
                                <li>
                                    <p><label>行走：</label></p>
                                    <p>
                                        <select name="runState" class="form-select">
                                            <option value="">请选择</option>
                                            <option th:selected="${userHistory?.runState=='0'}" value="0">依赖</option>
                                            <option th:selected="${userHistory?.runState=='1'}" value="1">协助</option>
                                            <option th:selected="${userHistory?.runState=='2'}" value="2">自理</option>
                                        </select>
                                    </p>
                                </li>
                                <li>
                                    <p><label>上下床：</label></p>
                                    <p>
                                        <select name="inBedState" class="form-select">
                                            <option value="">请选择</option>
                                            <option th:selected="${userHistory?.inBedState=='0'}" value="0">依赖</option>
                                            <option th:selected="${userHistory?.inBedState=='1'}" value="1">协助</option>
                                            <option th:selected="${userHistory?.inBedState=='2'}" value="2">自理</option>
                                        </select>
                                    </p>
                                </li>
                            </ul>
                            <ul class="overflow">
                                <li>
                                    <p><label>饮食：</label></p>
                                    <p class="layui-form">
                                        <span><input type="radio" th:checked="${userHistory?.eatFood=='1'}" value="1" name="eatFood" lay-skin="primary" title="普食"></span>
                                        <span><input type="radio" th:checked="${userHistory?.eatFood=='2'}" value="2" name="eatFood" lay-skin="primary" title="半流"></span>
                                        <span><input type="radio" th:checked="${userHistory?.eatFood=='3'}" value="3" name="eatFood" lay-skin="primary" title="全流"></span>
                                        <span><input type="radio" th:checked="${userHistory?.eatFood=='4'}" value="4" name="eatFood" lay-skin="primary" title="特殊饮食"></span>
                                    </p>
                                </li>
                                <li>
                                    <p><label>食欲：</label></p>
                                    <p>
                                        <select name="appetite" class="form-select">
                                            <option value="">请选择</option>
                                            <option th:selected="${userHistory?.appetite=='1'}" value="1">正常</option>
                                            <option th:selected="${userHistory?.appetite=='2'}" value="2">增加</option>
                                            <option th:selected="${userHistory?.appetite=='3'}" value="3">减退</option>
                                            <option th:selected="${userHistory?.appetite=='4'}" value="4">不思饮食</option>
                                        </select>
                                    </p>
                                </li>
                                <li>
                                    <p><label>其他：</label></p>
                                    <p><input name="eatOther" th:value="${userHistory?.eatOther}" maxlength="100" type="text" placeholder="请输入其他情况" class="layui-input"></p>
                                </li>
                            </ul>
                            <ul class="overflow">
                                <li>
                                    <p><label>排便：</label></p>
                                    <p class="layui-form" th:if="${not #strings.isEmpty(userHistory?.defecation)}">
                                        <span><input type="checkbox" th:checked="${userHistory?.defecation.contains('1')}" value="1" name="defecation" lay-skin="primary" title="正常"></span>
                                        <span><input type="checkbox" th:checked="${userHistory?.defecation.contains('2')}" value="2" name="defecation" lay-skin="primary" title="腹胀"></span>
                                        <span><input type="checkbox" th:checked="${userHistory?.defecation.contains('3')}" value="3" name="defecation" lay-skin="primary" title="便秘"></span>
                                    </p>
                                    <p class="layui-form" th:if="${#strings.isEmpty(userHistory?.defecation)}">
                                        <span><input type="checkbox"  value="1" name="defecation" lay-skin="primary" title="正常"></span>
                                        <span><input type="checkbox"  value="2" name="defecation" lay-skin="primary" title="腹胀"></span>
                                        <span><input type="checkbox"  value="3" name="defecation" lay-skin="primary" title="便秘"></span>
                                    </p>
                                </li>
                                <li>
                                    <p><label>每日次数：</label></p>
                                    <p><input name="defecationCount" th:value="${userHistory?.defecationCount}" oninput = "value=value.replace(/[^\d]/g,'')" maxlength="3" type="text" placeholder="请输入每日排便次数" class="layui-input"></p>
                                </li>
                                <li>
                                    <p><label>其他：</label></p>
                                    <p><input name="defecationOther" th:value="${userHistory?.defecationOther}" maxlength="100" type="text" placeholder="请输入其他情况" class="layui-input"></p>
                                </li>
                            </ul>
                            <ul class="overflow">
                                <li>
                                    <p><label>排尿：</label></p>
                                    <p class="layui-form" th:if="${not #strings.isEmpty(userHistory?.micturition)}">
                                        <span><input type="checkbox" th:checked="${userHistory?.micturition.contains('1')}" value="1" name="micturition" lay-skin="primary" title="正常"></span>
                                        <span><input type="checkbox" th:checked="${userHistory?.micturition.contains('2')}" value="2" name="micturition" lay-skin="primary" title="潴留"></span>
                                        <span><input type="checkbox" th:checked="${userHistory?.micturition.contains('3')}" value="3" name="micturition" lay-skin="primary" title="失禁"></span>
                                        <span><input type="checkbox" th:checked="${userHistory?.micturition.contains('4')}" value="4" name="micturition" lay-skin="primary" title="尿频"></span>
                                        <span><input type="checkbox" th:checked="${userHistory?.micturition.contains('5')}" value="5" name="micturition" lay-skin="primary" title="尿急"></span>
                                        <span><input type="checkbox" th:checked="${userHistory?.micturition.contains('6')}" value="6" name="micturition" lay-skin="primary" title="尿痛"></span>
                                    </p>
                                    <p class="layui-form" th:if="${#strings.isEmpty(userHistory?.micturition)}">
                                        <span><input type="checkbox" value="1" name="micturition" lay-skin="primary" title="正常"></span>
                                        <span><input type="checkbox" value="2" name="micturition" lay-skin="primary" title="潴留"></span>
                                        <span><input type="checkbox" value="3" name="micturition" lay-skin="primary" title="失禁"></span>
                                        <span><input type="checkbox" value="4" name="micturition" lay-skin="primary" title="尿频"></span>
                                        <span><input type="checkbox" value="5" name="micturition" lay-skin="primary" title="尿急"></span>
                                        <span><input type="checkbox" value="6" name="micturition" lay-skin="primary" title="尿痛"></span>
                                    </p>
                                </li>
                                <li>
                                    <p><label>其他：</label></p>
                                    <p><input name="micturitionOther" th:value="${userHistory?.micturitionOther}" type="text" maxlength="100" placeholder="请输入其他情况" class="layui-input"></p>
                                </li>
                            </ul>
                            <ul class="overflow">
                                <li>
                                    <p><label>睡眠：</label></p>
                                    <p>
                                        <select name="sleepState" class="form-select">
                                            <option value="">请选择</option>
                                            <option  th:selected="${userHistory?.sleepState=='0'}" value="0">失眠</option>
                                            <option  th:selected="${userHistory?.sleepState=='1'}" value="1">正常</option>
                                        </select>
                                    </p>
                                </li>
                                <li>
                                    <p><label>睡眠时长：</label></p>
                                    <p><input name="sleepCount" th:value="${userHistory?.sleepCount}" onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')" maxlength="3" type="text" placeholder="请输入睡眠时长（小时/日）" class="layui-input"></p>
                                </li>
                                <li>
                                    <p><label>辅助睡眠药物：</label></p>
                                    <p class="layui-form">
                                        <span><input type="radio" th:checked="${userHistory?.sleepDrug=='0'}" name="sleepDrug" value="0" lay-skin="primary" title="无"></span>
                                        <span><input type="radio" th:checked="${userHistory?.sleepDrug=='1'}"  name="sleepDrug" value="1" lay-skin="primary" title="有"></span>
                                    </p>
                                </li>
                            </ul>
                            <ul class="overflow">
                                <li>
                                    <p><label>午睡：</label></p>
                                    <p class="layui-form">
                                        <span><input type="radio" th:checked="${userHistory?.noonSleep=='0'}" name="noonSleep" value="0" lay-skin="primary" title="无"></span>
                                        <span><input type="radio" th:checked="${userHistory?.noonSleep=='1'}" name="noonSleep" value="1" lay-skin="primary" title="有"></span>
                                    </p>
                                </li>
                                <li>
                                    <p><label>家族遗传病史：</label></p>
                                    <p class="layui-form">
                                        <span><input type="radio" th:checked="${userHistory?.familyHistory=='0'}" value="0" name="familyHistory" lay-skin="primary" title="无"></span>
                                        <span><input type="radio" th:checked="${userHistory?.familyHistory=='1'}" value="1" name="familyHistory" lay-skin="primary" title="有"></span>
                                    </p>
                                </li>
                            </ul>
                            <ul class="overflow">
                                <li class="width-three">
                                    <p><label>备注：</label></p>
                                    <p><textarea name="familyHistoryRemark" th:text="${userHistory?.familyHistoryRemark}" placeholder="如有遗传史，可进行说明" maxlength="1000" rows="3" cols="5" class="layui-textarea resize"></textarea></p>
                                </li>
                            </ul>
                        </div>
                    </article>
                </form>
            </div>
        </div>
    </div>
</div>
</div>
<div id="pop-con" style="display: none">
    <div class="pop-up">
        <!-- 查看护理等级 -->
        <div>
            <div class="pop-title relative overflow mb15px">
                <span class="ml15px">护理内容</span>
                <p class="right"><img th:src="@{/static/img/close_icon.png}" class="block pop-close cursor"></p>
            </div>
            <div class="mt10px">
                <p><img th:src="${userInfo['nursingImg']}" alt=""></p>
            </div>
        </div>
    </div>
</div>
<div class="layui-footer layui-footer-one">
    <div class="btn-con textCenter">
        <span onclick="saveBasicHealthyInfo('healthArchive/elderly/addPhysiqueCheckInfo')" class="btn-two cursor">下一步</span>
    </div>
</div>
<script th:src="@{/static/js/jquery-2.1.3.min.js}"></script>
<script th:src="@{/static/js/basePath.js}"></script>
<script th:src="@{/static/layui/layui.js}"></script>
<script th:src="@{/static/js/healthyArchive/addBasicHealthyInfo.js}"></script>
</body>
</html>
